import React from 'react';
import './index.less'
const Lishi = () => {
    const list = [
        {id:1,title:'2020年中级经济师《经济基础知识》真题（11月4日下午）'},
        {id:2,title:'2019年中级经济师《经济基础知识》真题'},
        {id:3,title:'2018年中级经济师《经济基础知识》真题'},
    ]

    // function adapter() {
    //     const clientWidth = document.documentElement.clientWidth
    //     const rootFontSize = clientWidth * 100 / 375
    //     document.documentElement.style.fontSize = rootFontSize + 'px'
    // }
    // adapter()
    // window.onresize = adapter

    return <div className='lishibox'>
        <div className='header'>
            <img 
            src={require('../../../../public/wzcimg/向左箭头.svg')} alt="" />
            <span>历年真题</span>
        </div>
        <div className='content'>
            {
                list.map(item=>{
                    return <div className='conbox' key={item.id}>
                        <img src={require('../../../../public/wzcimg/真题.svg')} alt="" />
                        <div className='right1'>
                            <span>{item.title}</span>
                            
                        </div>
                        <p>本卷共105题</p>
                    </div>
                })
            }
        </div>
    </div>;
}

export default Lishi;